package com.kuiniu.threeframe;

import com.kuiniu.threeframe.server.NettyWebServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class ThreeFrameApplication {

    public static void main(String[] args) {
        SpringApplication.run(ThreeFrameApplication.class, args);
        try {
            new NettyWebServer(12345);
        } catch (Exception e) {
            System.out.println("NettyServerError:" + e.getMessage());
        }
    }
}
